package com.fingard.dsp.bank.reqrespobj.billpool;

import com.fingard.dsp.bank.reqrespobj.ReqRespHeader;
import com.fingard.dsp.bank.reqrespobj.RequestBase;
import com.fingard.xml.XmlTextReader;

/*保证金划转
 * */
public class ReqB311AssuranceTransmit extends RequestBase {
//    //    指令代码
//    public String CommandCode;
    //    流水号
    public String ReqSeqID;
//    //    金额转出方式
//    public String TransmitType;
    //    转出金额
    public String TransmitAmount;
    //    币种
    public String TransmitCurrency;
//    //    CIF客户号
//    public String CIFCode;
    //    帐号（保证金账户）
    public String AccountNum;
    //    帐号（转入账户）
    public String ToAccountNum;
//    //    交易方向 1-支出 2 -收入
//    public String MoneyWay;

    private XmlTextReader xmlReader;

    public ReqB311AssuranceTransmit(XmlTextReader p_xmlReader, ReqRespHeader p_header) throws Exception {
        reqHeader = p_header;
        xmlReader = p_xmlReader;

//        CommandCode = xmlReader.getSimpleText("CommandCode");
        ReqSeqID = xmlReader.getSimpleText("ReqSeqID");
//        TransmitType = xmlReader.getSimpleText("TransmitType");
        TransmitAmount = xmlReader.getSimpleText("TransmitAmount");
        TransmitCurrency = xmlReader.getSimpleText("TransmitCurrency");
//        CIFCode = xmlReader.getSimpleText("CIFCode");
        AccountNum = xmlReader.getSimpleText("AccountNum");
//        MoneyWay = xmlReader.getSimpleText("MoneyWay");
        ToAccountNum = xmlReader.getSimpleText("ToAccountNum");
    }

}
